@extends('layouts.app')
@section('content')
    <div class="breadcrumbs ace-save-state" id="breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <i class="ace-icon fa fa-users"></i>
                <a href="{{url('profile')}}">个人设置</a>
            </li>
            <li class="active">个人设置</li>
        </ul><!-- /.breadcrumb -->
    </div>
    <div class="page-content" id="content">
        <div class="page-header">
            <h1>
                个人设置
                <small>
                    <i class="ace-icon fa fa-angle-double-right"></i>
                    个人账号信息修改
                </small>
            </h1>
        </div><!-- /.page-header -->
        @include('layouts.alert')
        <div class="row">
            <div class="col-md-12">
                <form action="{{url('profile')}}" method="post" class="form-horizontal" role="form">
                    {{ csrf_field() }}
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 登录账号: </label>
                        <div class="col-sm-9">
                            <input type="text" value="{{auth()->user()->username}}" class="col-xs-10 col-sm-5" readonly/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 用户昵称: </label>
                        <div class="col-sm-9">
                            <input type="text" name="nickname" value="{{auth()->user()->nickname}}"
                                   placeholder="用户昵称" class="col-xs-10 col-sm-5" required/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 登录密码: </label>
                        <div class="col-sm-9">
                            <input type="password" placeholder="为空不修改" class="col-xs-10 col-sm-5"/>
                        </div>
                    </div>
                    <div class="clearfix form-actions">
                        <div class="col-md-offset-3 col-md-9">
                            <button class="btn btn-info" type="submit">
                                <i class="ace-icon fa fa-check bigger-110"></i>
                                提交
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
@endsection
@section('js')
    <script type="text/javascript">
        const app = new Vue({
            el: '#content',
            data: {
                total: 0,
                per_page: 15,
                current_page: 1,
                tableData: []
            },
            methods: {

            }
        })
    </script>
@endsection